package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.StoreInoutDetail;
import cn.topevery.garden.entity.query.StoreInoutDetailQuery;
import cn.topevery.garden.entity.vo.StoreInoutDetailVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 描述 The interface Store inout detail dao.
 *
 * @author code -generate
 * @created 2021 -09-13 15:54:37
 * @date 2021 -08-30
 */
public interface StoreInoutDetailDao extends BaseDao<StoreInoutDetail> {


    /**
     * 获取列表
     *
     * @param query the query
     * @return the data pager
     * @author wenzhao.lin
     * @created 2021 -09-13 15:54:37 List page data pager.
     */
    DataPager<StoreInoutDetail> listPage(StoreInoutDetailQuery query);

    /**
     * 描述 获取盘点清单
     *
     * @param name the name
     * @param type the type
     * @return the list by name
     * @author wenzhao.lin
     * @created 2021 -09-13 15:54:38
     */
    List<StoreInoutDetailVO> getListByName(String name, Integer type);
}
